package com.zbxx.domain;

import java.util.Date;
/**
* @Description:    秒杀成功的实体类
* @Author:         zt
* @CreateDate:     2018/11/1 0001 14:04
* @UpdateUser:     zt
* @UpdateDate:     2018/11/1 0001 14:04
* @UpdateRemark:   修改内容
* @Version:        1.0
*/

public class Successkilled {
    /*秒杀商品Id*/
    private long id;
    /*用户手机号*/
    private long userPhone;
    /*状态标识:-1无效 0:成功 1:已付款 2:已发货*/
    private short state;
    /*创建时间*/
    private Date createTime;

    //变通  多对一
    private Seckill seckill ;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public long getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(long userPhone) {
        this.userPhone = userPhone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Seckill getSeckill() {
        return seckill;
    }

    public void setSeckill(Seckill seckill) {
        this.seckill = seckill;
    }
}
